Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Scripting Additions Guide /
Chapter 2 - Scripting Addition Commands / Command Definitions
/


ASCII Character

The ASCII Character command returns the ASCII character associated with a specified number. It is one of several commands provided by the String Commands scripting addition.

SYNTAX
ASCII character integer
PARAMETER
integer
An expression that evaluates to an integer between 1 and 255.
Class: Integer
RESULT
The character that corresponds to the specified ASCII number.

EXAMPLES
ASCII character 100 
--result: "d"ASCII character 101
--result: "e"
ERRORS
Error
number
Error message
-108Out of memory.
-1700Can't make some data into the expected type.
-1701Some parameter is missing for <commandName>.
-1704Some parameter was invalid.
-1705Operation involving a list item failed.
-1718Reply has not yet arrived.
-1720Invalid range.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
18 DEC 1996